str = "他问,你知道cba是什么单词的缩写么   ?    "
print(str)
print('1.删除空格')
print('2.英文标点替换')
print('3.首字母大写')
print('4.退出')
while True:
    option = input("请输入功能选项:\n")
    if option =='1':
        #删除空格
        str =str.replace(' ','')
        print(str)
    elif option =='2':
        #英文标点替换
        for i in str:
            if i == ',':
                str = str.replace(',','，')
            elif i == '.':
                str = str.replace('.','。')
            elif i == '?':
                str = str.replace('?','？')
            elif i == "'":
                str = str.replace("'","’")
        str =str
        print(str)
    elif option == '3':
        #首字母大写
        str =str.upper()
        print(str)
    elif option == '4':
        break